body,
html {
	padding: 0px;
	margin: 0px;
	width: 100%;
	background: white;
}

.title {
	width: 100%;
	background: darkblue;
	text-align: center;
	box-shadow: #00008B 1px 2px 10px;
	margin-bottom:20px ;
}

.title p {
	margin: 0px;
	padding: 10px;
	color: white;
}

.contents {
	display: flex;
	flex-direction: column;
	padding-left: 15px;
	padding-right: 15px;
}

.items {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding-top: 10px;
	
}

.items p:nth-child(1) {
	margin-right: 10px;
	color: #333333;
	 
}

.items p {
	font-size: 18px;

}

.deng {
	width: 30px;
	height: 30px;
	border-radius: 15px;
	outline: none;
	border-color: transparent;
	border: 1px solid #8F8F94;
	background: transparent;
}

.open {
	box-shadow: green 0px 0px 30px;
	background: green;
	animation: deng 1s linear infinite;
	animation-direction: alternate; //反向
}


@keyframes deng {
	from {
		box-shadow: green 0px 0px 30px;
	}

	to {
		box-shadow: green 0px 0px 0px;
	}
}
.deview{
	flex: 1;
}

.a-switch {
	width: 60px;
	height: 30px;
	border-radius: 20px;
	-webkit-appearance: none;
	user-select: none;
	outline: none;
	background-color: #e0e0e0;
	box-shadow: #c2c2c2 0 0 0 0 inset;
	position: relative;
	transition: 0.4s;
}

.a-switch:before {
	content: '';
	width: 28px;
	height: 28px;
	border-radius: 100%;
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	position: absolute;
	left: 0;
	top: 1px;
	transition: 0.3s;
}

.a-switch:checked {
	border-color: green;
	box-shadow: green 0 0 0 14px inset;
	background-color: green;
}

.a-switch:checked:before {
	left: 32px;
}


/* 风扇 */

.feng{
	width: 30px;
	height: 30px;
	outline: none;
	border-color:transparent; 
	background: transparent;
	padding: 0px;
}
.feng img{
	width: 30px;
	height: 30px;
	
}

.rank1{
	animation: fengshan 1s linear infinite ;
}

.rank2{
	animation: fengshan .5s linear infinite ;
}

.rank3{
	animation: fengshan .3s linear infinite ;
}




@keyframes fengshan{
	from{
		transform: rotate(0deg);
	}
	to{
		transform: rotate(360deg);
		
	}
}

